package com.autumn.sms.service.entities;

import javax.persistence.Column;

import com.autumn.domain.entities.AbstractDefaultEntity;

/**
 * 短信模板参数抽象
 * 
 * @author 老码农
 *
 *         2018-01-12 10:32:15
 */
public abstract class AbstractSmsTemplateParameter extends AbstractDefaultEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1417342553961523188L;
	private Long templateId;
	private Integer autoSortId;
	private String name;
	private String friendlyName;
	@Column(name = "is_must")
	private boolean isMust;

	public Long getTemplateId() {
		return templateId;
	}

	public void setTemplateId(Long templateId) {
		this.templateId = templateId;
	}

	/**
	 * 
	 * @return
	 *
	 */
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAutoSortId() {
		return autoSortId;
	}

	public void setAutoSortId(Integer autoSortId) {
		this.autoSortId = autoSortId;
	}

	public String getFriendlyName() {
		return friendlyName;
	}

	public void setFriendlyName(String friendlyName) {
		this.friendlyName = friendlyName;
	}

	public boolean getIsMust() {
		return isMust;
	}

	public void setIsMust(boolean isMust) {
		this.isMust = isMust;
	}
}
